package com.wsx.ones.monitor.core;

/**
 * 消息类型的枚举
 * Created by wangshuaixin on 17/3/20.
 */
public enum MessageType {

    LOGIN_REQ(100),
    LOGIN_RESP(101),
    HEARTBEAT_REQ(150),
    HEARTBEAT_RESP(151),
    TRANSDATA_REQ(200),
    TRANSDATA_RESP(201);

    private Integer type;
    MessageType(Integer type) {
        this.type = type;
    }
    public Integer getType() {
        return type;
    }
}
